package Spring;

/**
 * Created with IntelliJ IDEA.
 * User: breeze
 * Date: 11/22/12
 * Time: 8:16 AM
 * To change this template use File | Settings | File Templates.
 */
public class Car {

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String name) {
        this.type = name;
    }

    public void drive(){
        System.out.println(getType() + " KIA is driving");
    }
}
